//
//  MouoSinaMenuItemSection.m
//  WJSinaHomeMenu
//
//  Created by tqh on 2019/5/16.
//  Copyright © 2019 tqh. All rights reserved.
//

#import "MouoSinaMenuItemSection.h"
#import "HexColors.h"
#import "UIView+Extension.h"
#import "MouoFont.h"

@interface MouoSinaMenuItemSection()

@property (nonatomic,strong) UILabel *label;

@end

@implementation MouoSinaMenuItemSection

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self addSubview:self.label];
    }
    return self;
}


- (void)layoutSubviews {
    self.label.frame = CGRectMake(0, 0, 200, self.height);
}

#pragma mark - 懒加载

- (UILabel *)label {
    if (!_label) {
        _label = [UILabel new];
        _label.textColor = [UIColor colorWithHexString:@"#9B9B9B"];
        _label.text = @"点击添加分类";
        _label.font = [MouoFont PingFangSC_RegularWithSize:14];
    }
    return _label;
}

@end
